<?php
class Admin_Form_Page extends Arm_Form
{
    public function init()
    {
        $field = new Admin_Form_Fields();
        $this->addElement($field->navigationTitle()->setLabel(Arm_Translate::_('Заголовок')));
        $this->addElement($field->pageDescription());
        $this->addElement($field->pageKeywords());
        $editor = $field->fckEditorAllowPhp('body');
        $editor->setLabel(Arm_Translate::_('Текст'));
        $editor->setDescription(Arm_Translate::_('Разрешены вставки PHP кода, любые HTML теги'));
        $editor->setConfigEditor(Arm_Form_Element_FckEditor::FULLPHP_CONFIG);
        $this->addElement($editor);
        $this->addElement($field->submit());
    }
}